package bestTeam.WalkieDoggie.client.ServicesInterfaces;

import java.util.Date;
import java.util.HashMap;

import bestTeam.WalkieDoggie.client.NotLoggedInException;
import bestTeam.WalkieDoggie.client.Serializables.UserProfileData;
import bestTeam.WalkieDoggie.client.Serializables.UserRequest;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("request")
public interface RequestService extends RemoteService {

	public String addRequest(UserRequest request);
	public void removeRequest(String id);
	public HashMap<UserRequest,UserProfileData> getRequestsAndOwners(String uid);
	public HashMap<UserRequest,UserProfileData> getRequestsAndOwners();
	public void UpdateRequest(UserRequest request);
	public UserRequest getRequest(String requestID);
	
}
